import request from '@/utils/request'

const Storage = {
  // 仓库列表
  listStorage(data) {
    return request({
      url: 'Storage/listStorage',
      method: 'post',
      data
    })
  },
  // 新增修改仓库
  addStorage(data) {
    return request({
      url: 'Storage/addStorage',
      method: 'post',
      data
    })
  },
  // 删除仓库
  delStorage(data) {
    return request({
      url: 'Storage/delStorage',
      method: 'post',
      data
    })
  },
  // 单个仓库详情
  getStorage(data) {
    return request({
      url: 'Storage/getStorage',
      method: 'post',
      data
    })
  }

}
export { Storage }
